@section('title')
	创建律团 @parent
@show

@section('content')
<!-- Top Navbar-->
<div class="navbar theme-white">
	<div class="navbar-inner">
		<div class="left"><a href="{{ route('group.main') }}" class="external icon-only link"> <i class="icon icon-back"></i></a></div>
		<div class="center sliding">创建律团</div>
		<div class="right">
				<a href="javascript:void(0);" id="next-btn" class="link icon-only">下一步</a>
		</div>
	</div>
</div>
<div class="pages navbar-through toolbar-through">
	<!-- Page, data-page contains page name-->
	<div data-page="creategroup" class="page pb60">
    <!-- Scrollable page content-->
    <div class="page-content">
      <div class="content-block-title field-name"></div>
      <div class="list-block">
        <ul>
          <form name="frm" action="{{ Input::server('REQUEST_URI') }}" method="post">          
          <li>            
            <div class="item-content">
              <div class="item-inner">
                <div class="item-input" style="width:100%">
                    <input type="text" name="group_name" id="group_name" value="" placeholder="请为您的律团网取个响亮的名称吧">
                </div>
              </div>
            </div>
          </li>
          </form>
        </ul>	
      </div>
			
			<div class="item-content">
				<div class="item-inner">{{ $errors->first('group_name', '<strong class="error">:message</strong>') }}</div>
			</div>
    </div>
  </div>
</div>
@include('widgets.toolbar', array('active'=>'sns'))
@stop
@section('bodyEnd')
<script> 
$$('#next-btn').click(function(){
	if($$('#group_name').val())
	{
			document.frm.submit();
	} else {
			$$('#group_name').focus();
	}

})
</script>
@show